package com.superhelper.app;

import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;

import com.superhelper.common.utils.JsonHelper;
import com.superhelper.common.utils.RSAUtils;

/**
 * Hello world!
 *
 */
public class App 
{
    public static void main( String[] args ) throws UnsupportedEncodingException
    {
        System.out.println(JsonHelper.toJson(null));
        System.out.println(URLEncoder.encode("http://120.24.78.166:8080/merchant_admin/api/mt/auth.do", "utf-8"));
        
        String token ="qBEJZgFl8ppDXkwBwUTRDvI+y7MOwI5HaAonRUAjgn0oPFV+d+c5lZ1R6TKd4uERSPlGDreK9X4pPwdKrb7bcykDVob3VkOqOTiDNBUrftzD+U3481PFUnK+iPzoq9YlDTbsnTeG8aee341jjrL+VwTCZDjw+cVMMqA5DG4qyDI=";
        String data = RSAUtils.decrypt(token, false);
        System.out.println(data);
    }
    public static void unvalid(){
    	
    	String url="https://open-erp.meituan.com/releasebinding?signKey=lj0ev7ovcjl1nq1p&businessId=2&appAuthToken=c9c31276aa3eb425c932b430a0939b2a7197247998d9927367223a3505d058020eb9fcfda202d35b50859b7a2341972d";
    }
}
